<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/styles.css}">
    <!--[if IE]>
    <script src="http://libs.baidu.com/html5shiv/3.7/html5shiv.min.js"></script>
    <![endif]-->
<!--    <script th:src="@{/js/index.js}" type="text/javascript"></script>-->
</head>
<body>
<div class="jq22-container" style="padding-top:100px">
    <div class="login-wrap">
        <div class="login-html">
            <input id="tab-2" type="radio" name="tab" class="sign-up" checked><label for="tab-2" class="tab">管理员登录</label>
            <div class="login-form">
                <div class="sign-up-htm">
                    <h2 th:text="${msg}" th:if="${!#strings.isEmpty(msg)}"></h2>
                    <form name="accountFrom" onsubmit="return beforeSubmit()" th:action="@{/admin/login/admin}" method="post" >
                        <div class="group">
                            <label for="email" class="label">管理员账户</label>
                            <input  id="email" type="text" class="input" name="userName"/>
                        </div>
                        <div class="group">
                            <label for="password" class="label">密码</label>
                            <input  id="password" class="input" type="password" name="password">
                        </div>
                        <div class="group">
                            <input class="button" type="submit" value="登录" >
                        </div>
                        <div class="hr"></div>
                        <div class="foot-lnk">
                            <a th:href="@{/index}">登录/注册</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>